package com.ram.testcoherence.ejb;

import com.ram.testcoherence.entity.Person;

import java.util.List;

import javax.ejb.Remote;

@Remote
public interface CoherenceSessionEJB {
    Person persistPerson(Person person);

    Person mergePerson(Person person);

    void removePerson(Person person);

    List<Person> getPersonFindAll();
    
    public Person getPersonFromCache(Long personId);

}
